home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / X-Ray / samples / transparent floater / source / common.h next >
Encoding:
C/C++ Source or Header  |  1999-06-07  |  712 b   |  17 lines  |  [TEXT/CWIE]

  1. #ifndef _TFLOATER_
  2. #define    _TFLOATER_
  3.  
  4. #include <TextServices.h>
  5.  
  6. #define kfltGestalt                        'tFlt'
  7.  
  8. // created & initialized by INIT, allows for communication between INIT, BOA and clients
  9. typedef struct flt_GlobalCommRec {
  10.     ProcessSerialNumber        daemonPSN;                    // PSN of daemon, valid only if daemon is running, can be compared to kNoProcess
  11.     WindowPtr                daemonWindow;                // nil if daemon not running
  12.     THz                        daemonZone;                    // memory zone of daemon
  13.     QDGlobals                *daemonQDGlobals;            // pointer to the QD globals of the daemon
  14.     Boolean                    daemonCloseWindow;            // tells daemon that it should quit because user closed window
  15. } flt_GlobalCommRec, *flt_GlobalCommPtr, **flt_GlobalCommHandle;
  16.  
  17. #endif // _TFLOATER_